package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author bn
 */
@Controller
public class JumpController {

    @RequestMapping("/login")
    public String user(){
        return "login";
    }

    @RequestMapping("/register")
    public String red(){
        return "register";
    }
}
